from rj_casmart import RJ_api
from utils import load_json_to_dict, save_dict_to_json

product_ids = [200202077214,200178890020]
rj = RJ_api()

product_detail = rj.official_getProductDetailList(product_ids)
print(product_detail)
# save_dict_to_json(product_detail, "65_product_detail.json")


# from utils import load_xlxs_to_list

# temp_list = load_xlxs_to_list("new_category.xlsx", ["productNum","categoryId"],"sheet1")

# print(temp_list)
# # print(load_xlxs_to_list("65_product_list.xlsx", ["productNum"]))
# for item in temp_list:
#     print(item)
#     break

